# coding:utf-8

import jieba
import jieba.analyse
import sys
import json

def process_arguments():
  if len(sys.argv) < 2:
    print("请提供参数.")
    return
    
text = sys.argv[1]

words = jieba.analyse.extract_tags(text, topK=3)

print(json.dumps(words))
